Platform Explorer / Nuxeo Platform LTS 2019 10.10

Component org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService

Documentation

The pluggable exception service. All exceptions that bubbles up outside nuxeo are caught by the NuxeoExceptionFilter. This service customize the handler that will deal with an exception.

Resolution Order

636
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Start Order

944
The start order represents the order in which this component has been started by the Nuxeo Runtime framework.
This number is interesting to tweak if your Java component interacts with other components, and needs to be started before or after another one.
It can be changed by implementing the method "Component#getApplicationStartedOrder()" on your Java component: components are sorted according to this reference value, in increasing order.
The default value is 1000, and the repository initialization uses number 100. Negative values can also be used.

Implementation

Class: org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingComponent

Services

Extension Points

XML Source

<?xml version="1.0"?>
<component
	name="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService">
	<service>
		<provide
			interface="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingService" />
	</service>
	<implementation
		class="org.nuxeo.ecm.platform.web.common.exceptionhandling.service.ExceptionHandlingComponent" />
	<documentation>
		The pluggable exception service. All exceptions that
		bubbles up outside
		nuxeo are caught by the NuxeoExceptionFilter.
		This
		service customize the handler that will deal with an exception.
		@author Alexandre Russel (arussel@nuxeo.com), Benjamin JALON (bjalon@nuxeo.com)
	</documentation>
	<extension-point name="exceptionhandler">
		<documentation>
			Define an exceptionHandler that manages exceptions
			To override just contribute again on the extension point,
			parameters will be keep. Default contributed is DefaultNuxeoExceptionHandler.
		</documentation>
		<object
			class="org.nuxeo.ecm.platform.web.common.exceptionhandling.descriptor.ExceptionHandlerDescriptor" />
	</extension-point>
	<extension-point name="errorhandlers">
		<documentation>
			Define a set key/exception to be used to output error
			message
		</documentation>
		<object
			class="org.nuxeo.ecm.platform.web.common.exceptionhandling.descriptor.ErrorHandlersDescriptor" />
	</extension-point>
	<extension-point name="requestdump">
		<documentation>
			Define a class that will take a request and output a
			string dumping
			informations.
	  </documentation>
		<object
			class="org.nuxeo.ecm.platform.web.common.exceptionhandling.descriptor.RequestDumpDescriptor" />
	</extension-point>
	<extension-point name="listener">
		<documentation>
			Define a listener to exception handling.
		</documentation>
		<object
			class="org.nuxeo.ecm.platform.web.common.exceptionhandling.descriptor.ListenerDescriptor" />
	</extension-point>
</component>